<?php
$GLOBALS['Md'] = "FJ39SK3K";
$GLOBALS['Pd'] = "G";
require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
MYDCONN(); ?>
<div class="title">CCTV</div>
<table width="100%"  border="0" cellspacing="3" cellpadding="1">
  <tr>
    <td width="20%" valign="top"><table width="200"  border="0" cellspacing="1" cellpadding="3">
      <tr>
        <td bgcolor="#6699CC">Cameras</td>
      </tr>
      <?php
 $GET = $GLOBALS['MYD']->db_array("SELECT * FROM fj39sk3k_objects");
  for ($r = 1; $r <= $GET[0]; $r++) { ?>
      <tr>
        <td bgcolor="#D1DDE7" style="padding:2px;height:18px">
          <?php
if ($GET[$r]['OFFICE'] == 20) { ?>
          <a href="javascript:<?php echo $GET[$r]['URL'];?>" style="padding:6px;"><?php echo $GET[$r]['Description'];?></a>
          <?php } else { ?>
          <a href="<?php echo $GET[$r]['URL'];?>" style="padding:6px;height:22px" target="_blank"><?php echo $GET[$r]['Description'];?></a>
          <?php } ?></td>
      </tr>
      <?php } ?>
    </table></td>
    <td width="80%" valign="top"><p>Nos sites que solicitar usuário e senha.<br>
        PORTO: Usuário: admin Senha: admin<br>
        CASCAIS: Usuário: europa Senha: anabel<br>
    OUTRAS: Usuário: moneyone Senha: money2008</p>
    <div id="frame"></div></td>
  </tr>
</table>